const information = document.getElementById('info')
information.innerText = `本应用正在使8用 Chrome (v${versions.chrome()}), Node.js (v${versions.node()}), 和 Electron (v${versions.electron()})`

const func = async () =>{
    const response = await window.versions.ping()
    console.log(response)
    const pingobj = document.getElementById('ping')
    pingobj.innerText = response
}
func()